package ioperations;

import book.BookList;

public class ShowOpretion implements IOPeration{
    @Override
    public void work(BookList bookList) {
        System.out.println("Show Opretion");


        int currentSize = bookList.getUsedSize();
        for(int i = 0; i < currentSize; i++){
            System.out.println(bookList.getBook(i));
        }
    }
}
